package com.aizhixin.lab.post.entity;

import lombok.Data;
import org.springframework.cache.annotation.Cacheable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;

@Entity(name="t_business")
@Cacheable
@Data
public class Business {
    @Id
    private String id;
    @Column(name = "business_name")
    private String businessName;
    @Column(name = "delete_flag")
    private Integer deleteFlag;
    @Column(name = "created_date",insertable = false)
    private Date createdDate;


}
